package com.njit.mailm.core.controller;

import org.omg.CORBA.PRIVATE_MEMBER;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.njit.mailm.core.service.MailService;


@RequestMapping("/receive")
@Controller
public class ReceiveController {

	//@Autowired
//	private MailService mailService;
	
	@RequestMapping("/startReceive")
	public String startReceive(){
		return "receive";
	}
	
	@RequestMapping("/receive")
	public String receive(){
		//mailService.synchrMail();
		return "success";
	}
}
